package com.qf.micrograss.grass.service;

import com.qf.common.core.page.PageParam;
import com.qf.common.core.page.PageVO;
import com.qf.micrograss.grass.param.GrassAddParam;
import com.qf.micrograss.grass.vo.GrassVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 * 2025/1/4
 */
public interface GrassService {

    String uploadImg(MultipartFile file);

    void addGrass(GrassAddParam param);

    PageVO<GrassVO> grassPage(PageParam param);

    void updateLikeNum(Integer id, Integer num);

    /**
     * 更新点赞数定时任务
     */
    void updateLikeNumTask();
}
